package org.blueoxygen.kukuruyuk.actions.address;
import org.blueoxygen.kukuruyuk.entity.Address;
public class DeleteAddress extends AddressForm {
public String execute(){
	if(getAddress().getId() != null &&
			!"".equalsIgnoreCase(getAddress().getId())){
		setAddress((Address) manager.getById(Address.class, getAddress().getId()));
		manager.remove(getAddress());
		
	}
	return SUCCESS;
  }
}